package com.highgain.displacementtrend.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.highgain.displacementtrend.entity.ZoneCode;
import com.highgain.displacementtrend.mapper.ZoneCodeMapper;
import com.highgain.displacementtrend.service.AreaService;
import org.springframework.stereotype.Service;

/**
 * @author zhanglifeng
 * @date 2021/04/27 18:49
 **/
@Service
public class AreaServiceImpl extends ServiceImpl<ZoneCodeMapper, ZoneCode> implements AreaService {

    @Override
    public ZoneCode getAreaName(int areaCode) {
        return baseMapper.selectById(areaCode);
    }
}
